<!-- Begin hrmd/event.tpl -->
<form method="post" action="?module=hrmd&action=event&submit=true">
{opentable}
{if $idusr eq $smarty.session.userid}
	{titlebar colspan=2 title=$lg->hre_list}	
{else}
	<tr><td class="titlebar" colspan=2 >{$lg->hre_list} : {uname_detail id=$idusr}</th></tr>
{/if}
<tr>{$perio}</tr>
{closetable}
<input type="submit" name="submit" class="button" align="left" value={$lg->OK} />
</form>

<br><br>
{opentable}
	<tr class="sectiontableheader" align="center">
		<td width = "10%">{$lg->cdate}</td>
		<td width = "15%">{$lg->hretp}</td>
		<td width = "20%">{$lg->comment}</td>		
	</tr>
	{if is_array($t_hr01)}
	{foreach from=$t_hr01 item=s_hr01}
	<tr class="{rowcolor}" align="center">
		<td>{$s_hr01.cdate|userdate}</td>
		<td>{$s_hr01.vtext}</td>
		<td>{$s_hr01.ctext}</td>
	</tr>
	{/foreach}
	{else}
		<tr class="data"><td colspan="6">{$lg->no_data}</td></tr>	
	{/if}
{closetable}
<!-- End hrmd/event.tpl -->